var mongoose = require('../bootstrap/mongodb');
var Schema = mongoose.Schema;
var author = require('./author');
var authorInfoModel =new Schema({
   author_id:{
       type:Schema.Types.ObjectId,
       ref:'author'
   },
   authorInfo:String,
})
module.exports = mongoose.model('authorInfo', authorInfoModel);